#include<windows.h>
#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" ) // 设置入口地址  编译后不现实控制台

int main()
{
	WinExec("D:test.exe", SW_SHOWMAXIMIZED); //打开应用程序  D:\\test.exe
	ShellExecute(NULL, "open", "D:Test.txt", NULL, NULL, SW_SHOWNORMAL); //打开d:\test.txt 文档
	return 0;
}